﻿@if(Request.IsAuthenticated) {
    <text><strong style="color:white;"> 
        @User.Identity.Name.Split('@')[0] [ 
        @User.Identity.Name.Split('@')[3] - 
        @String.Format("{0:0000}", Int32.Parse(User.Identity.Name.Split('@')[2]))
        ]
    </strong>
    <a style="color:white;" href="@Url.Content("~/Account/LogOff")">Salir&nbsp;</a></text>
}
else {

    @:[ @Html.ActionLink("Login", "LogOn", "Account")) ]
}
